package com.qf.service;

import com.qf.pojo.req.XcUserReq;
import com.qf.pojo.resp.BaseResp;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;

public interface PersonalService {

    //查询用户信息
    BaseResp select(HttpServletRequest request);

    //修改用户信息
    BaseResp update(XcUserReq xcUserReq, HttpServletRequest request);

    //根据老密码修改新密码
    BaseResp updatepasswordbyoldpasswode(HttpServletRequest request, XcUserReq xcUserReq);

    //上传头像
    BaseResp upload(MultipartFile multipartFilet, HttpServletRequest request);

    //查找头像
    BaseResp findpic(HttpServletRequest request);
}
